package com.chenjh.soft.mvc;

import java.util.Locale;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class BaseTestController extends BaseController {

	@RequestMapping(value="/base")
	public String testBase() {
		log.debug("test base in..." + this.hashCode());
		log.debug("i18n message: " + getText("welcome", Locale.SIMPLIFIED_CHINESE));
//		log.debug("properties hasCode: " + getConfiguration().hashCode());
//		log.debug("config properties: " + getConfiguration().getProperty("resources.prefix"));
		return "index";
	}
	
}
